#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>  
#include <stddef.h>  
//#define offsetof(type, member) __builtin_offsetof(type, member)
typedef struct {
    int id;
    char name[20];
    float salary;
} Employee;

int main() {
    printf("Offset of id: %zu\n", offsetof(Employee, id));
    printf("Offset of name: %zu\n", offsetof(Employee, name));
    printf("Offset of salary: %zu\n", offsetof(Employee, salary));

    return 0;
}